//向后端请求的端口
const port = 'http://localhost:8980/';
//登录成功后的跳转页面
const sxport='http://127.0.0.1:5501/';
//聊天的接口
const chatport='http://localhost:3001';

function time1(time = +new Date()) {
    var date = new Date(time + 8 * 3600 * 1000);
    //返回格林威治时间
    return date.toJSON().substr(0, 19).replace('T', ' ').replace(/-/g, '.');
}